<$macro>
and <$deftag>
,
you can use several flag to tell hsc how to handle this macro/tag.
Legal flags for <$macro>
are:
/ONLYONCE
(short: /1
)
/REQUIRED
(short: /R
)
/MUST_BE_INSIDE
(short: /MBI
)
<LI>
must be used inside some sort of lists only,
therefor it's /MBI="ul|ol|dir|menu"
is used.
The vertical bar (`|
') is used as a separator for multiple tags.
/NOT_ALLOWED_WITHIN
(short: /NAW
)
/MBI
, but this time tags that must not be
used before. For example, a nested usage of <A>
is not allowed, therefor /NAW="a"
is used.
<$deftag>
/CLOSE
(short: /C
)
/AUTOCLOSE
(short: /AC
)
<P>
and <LI>
, which can be used as container
or single tag depending on the HTML version.
/JERK
(short: /J
)
/LAZY
(short: /L
)
c
' for `CLASS:string
',
`h
' for `HREF:uri
',
`i
' for `ID:id
',
`k
' for `CLEAR:bool
',
`l
' for `LANG:string
',
`m
' for `MD:string
',
`s
' for `SRC:uri
',
`w
' for `NOWRAP:bool
'./LAZY="cil"
.
/OBSOLETE
(short: /O
)
<LISTING>
.
/SKIPLF
(short: /S
)
/SPECIAL
(short: /SPC
)
<!>
(for SGML comments).
/WHTSPC
(short: /W
)
<A>
, <TITLE>
, headings and physical/logical
styles.
To define a closing macro, don't use /CLOSE
, but define
the macro a second time, with a "/" as the first character
of its name. For examples, see the section about <$macro>
.